import React from 'react';
import { View, Image, Text } from 'react-native';

const PlaylistCard = ({ playlist }) => {
  return (
    <View style={styles.card}>
      <Image source={{ uri: playlist.cover }} style={styles.image} />
      <Text>{playlist.name}</Text>
      <Text>{playlist.songCount}首歌曲</Text>
    </View>
  );
};

export default PlaylistCard;